package com.cbh.feign.controller.shortmenssage;



import java.util.HashMap;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.cbh.api.model.ApiResult;

public interface WebH5MessageControllerBase {

	@RequestMapping(value = "/exte/v1/app/webH5/sendMessage", method = RequestMethod.POST)
	public ApiResult<String> sendMessage(@RequestParam(value = "userPhone", required = true) String userPhone,
			@RequestParam(value = "msgType", required = true) String msgType,
			@RequestBody(required = true) HashMap<String, String> map);

	@RequestMapping(value = "/exte/v1/app/webH5/sendMessage2", method = RequestMethod.POST)
	public ApiResult<String> sendMessage2(@RequestParam(value = "userPhone", required = true) String userPhone,
			@RequestParam(value = "msgType", required = true) String msgType,
			@RequestParam(value = "code", required = false) String code,

			@RequestParam(value = "carUserName", required = false) String carUserName,
			@RequestParam(value = "orderNo", required = false) String orderNo,
			@RequestParam(value = "jqxPrice", required = false) String jqxPrice,
			@RequestParam(value = "syxPrice", required = false) String syxPrice,
			@RequestParam(value = "chxPrice", required = false) String chxPrice,
			@RequestParam(value = "totalPrice", required = false) String totalPrice,
			@RequestParam(value = "telNo", required = false) String telNo,

			@RequestParam(value = "compName", required = false) String compName,
			@RequestParam(value = "carNo", required = false) String carNo,
			@RequestParam(value = "safeOrderNo", required = false) String safeOrderNo,
			@RequestParam(value = "safePrice", required = false) String safePrice,
			@RequestParam(value = "start_year", required = false) String start_year,
			@RequestParam(value = "start_month", required = false) String start_month,
			@RequestParam(value = "start_day", required = false) String start_day,
			@RequestParam(value = "start_hour", required = false) String start_hour,
			@RequestParam(value = "end_year", required = false) String end_year,
			@RequestParam(value = "end_month", required = false) String end_month,
			@RequestParam(value = "end_day", required = false) String end_day,
			@RequestParam(value = "end_hour", required = false) String end_hour);
}
